﻿package com.toncen.samepms.system.dao;

import java.sql.SQLException;
import java.util.List;

import com.toncen.samepms.common.AbstractDao;
import com.toncen.samepms.system.domain.CodeItem;

/**
 * 描述：编码明细表SYSTEM_CODE_ITEM的dao文件
 * 
 * @author tch 
 */
public class CodeItemDao  extends AbstractDao<CodeItem> {

	public CodeItemDao() {
	}

	
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.comit.common.db.BaseDao#initialize()
	 */
	@Override
	protected void initialize() {
		setStatementPrefix("CodeItem");
		setStatementDivision(".");
	}
	
	@SuppressWarnings("unchecked")
	public List<CodeItem> getCodeItem(String sqlStr) throws SQLException
	{
		List<CodeItem> list = super.getSqlMap().queryForList(getStatement("getCodeItemList"),sqlStr);
		return list;
	}
}
